package com.rm.zeyou.service;

import com.rm.zeyou.entity.Technician;
import com.rm.zeyou.entity.TechnicianConsumeDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rm.zeyou.response.ApiRestResponse;
import com.rm.zeyou.vo.request.TechnicianWalletVo;
import com.rm.zeyou.vo.response.TechnicianStatisticsResponseVo;
import com.rm.zeyou.vo.response.TechnicianWalletResponseVo;

/**
 * <p>
 * 技师收入/支出表 服务类
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
public interface TechnicianConsumeDetailService extends IService<TechnicianConsumeDetail> {

    ApiRestResponse<TechnicianStatisticsResponseVo> technicianStatistics(Technician technician);

    ApiRestResponse<TechnicianWalletResponseVo> technicianWallet(Technician technician, TechnicianWalletVo technicianWalletVo);

    void updateTechnicianConsumeGrade(Technician technician);

    void updateTechnicianConsume() throws Exception;
}
